package org.gry.dy20180719;

import java.util.HashSet;
import java.util.Set;

public class Test {

	int a = 5;
	
	public int getA() {
		return a;
	}

	public void setA(int a) {
		this.a = a;
	}

	public static void main(String[] args) {
		
		Set<String> a = new HashSet<String>();
		a.add("测试a");
		a.add("测试b");
		
		for(String str :a) {
			System.out.println(str);
		}
		
		for(int i = 0;i<a.size();i++) {
			System.out.println(a.isEmpty());
		}
		
	}
}
